package org.wdh.ep.roguetile;

public abstract class Tree {
	/*public abstract int add();
	public abstract int multiply();*/
	public abstract int accumulate(Operator o);
	public int add() {
		return this.accumulate(new Adder());
	}
	public int multiply() {
		return this.accumulate(new Multiplier());
	}
}
